import request from '@/utils/request'
import API from './constants'
/**
 *
 * @param {*} userInfo 用户信息
 * @returns
 */

export const loginAsync = userinfo => request({
  url: API.LOGIN_API,
  methods: 'POST',
  data: userinfo,
})
